package top.jojoace.JPA.service;

import org.springframework.data.domain.Page;
import top.jojoace.JPA.model_DDL.BothWay_OneToMany.BW_StudentItem;
import top.jojoace.JPA.model_DDL.OneWay_OneToMany.OW_StudentItem;

public interface StudentService {
    BW_StudentItem selectBWStudentById(int id);
    OW_StudentItem selectOWStudentById(int id);

    Page<BW_StudentItem> getLatestPagingStudnets(Integer pageNum, Integer size);
}
